package com.think.constant;

public class Constant {
    public static final String SUCCESS_CODE = "1";//请求成功
    public static final String ERROR_CODE = "0";//请求失败，默认
    public static final String HTTP_ERROR_CODE = "2";//HTTP请求出错
    public static final String BUSINESS_ERROR_CODE = "3";//业务出错，错误消息会返回给页面
    public static final String NOTFOUND_ERROR_CODE = "404";//HTTP请求404
    public static final String DATA_NOT_EXISTS_CODE = "4041";//数据不存在
    public static final String TOKEN_ERROR_CODE = "100";//token过期
    public static final String USER_NOTFOUND_CODE = "101";//用户不存在
    public static final String USER_NOTLOGIN_CODE = "102";//用户未登录

    //MSG
    public static final String SUCCESS_MSG = "SUCCESS";//请求成功默认消息
    public static final String HTTP_ERR_MSG = "http error";//请求出错
    public static final String NOTFOUND_ERR_MSG = "Not Found";//404
    public static final String MSG_NULLPARAM = "param is null";
    public static final String UNKNOW_ERR_MSG = "unknow error";//未知错误
    public static final String USER_NOTLOGIN_ERR_MSG = "user not login";//用户未登录
}
